package com.fh.service.StatisticsStrategy;

import com.fh.util.PageData;

import java.util.Map;

/**
 * @Author LiGuangYi Date: 2017/12/26 14:25
 * @description:
 */
public class CountMoneyStrategy {

    private ICountMoney countMoney;

    public CountMoneyStrategy(ICountMoney countMoney) {
        this.countMoney = countMoney;
    }

    public void setCountMoney(ICountMoney countMoney) {
        this.countMoney = countMoney;
    }
    public Map<String , Object> operate(PageData pd){
      return this.countMoney.getCountMoney(pd);
    }
}
